<script>
  import {getCookie, setCookie} from "as-common";
  import {LoginType} from "../../../repo/env/Constants";
  import {push} from "../../../router/util";

  export default {
    name: "transfer-page",
    created() {
      if (getCookie('jumpKey')) {
        let loginPath = getCookie(LoginType.jumpAfterLogin, true);
        setCookie('jumpKey', false);


        this.$router.push(loginPath.fullPath)

      } else {
        push('')
      }

    },
  }
</script>

<style scoped>

</style>
